package com.xhd.base.log.impl;

import java.text.SimpleDateFormat;
import java.util.Vector;
import com.xhd.base.log.Log;
import com.xhd.server.ServerConfig;

public class XLogger implements Log {
	private boolean jm295 = false;
	private boolean jm296 = true;
	private boolean jm297 = true;
	private boolean jm298 = true;
	private boolean jm299 = true;
	private boolean jm300 = true;
	private boolean jm301 = true;
	private boolean jm302 = true;
	private boolean jm303 = true;
	private boolean jm304 = true;
	private boolean jm305 = true;
	private boolean jm306 = true;
	private Vector jm307 = new Vector();
	private Vector jm308 = new Vector();
	private Vector jm309 = new Vector();
	private Vector jm310 = new Vector();
	private Vector jm311 = new Vector();
	private Vector jm312 = new Vector();
	private Vector jm313 = new Vector();
	private SimpleDateFormat jm314 = new SimpleDateFormat(
			"yyyy-MM-dd HH:mm:ss SSS");
	private SimpleDateFormat jm315 = new SimpleDateFormat("HH:mm:ss SSS");
	public static XLogger instance = null;
	private XProcessLog ProcLogTemp = null;
	private XProcessLog jm316;

	public static synchronized XLogger getInstance() {
		if (instance == null)
			instance = new XLogger();
		if ((!(instance.jm295)) && (3 == ServerConfig.SystemState))
			instance.readConfig();
		return instance;
	}

	private void readConfig() {
		// TODO Auto-generated method stub
		{
			this.jm296 = LogConfig.isLog(11);
			this.jm297 = LogConfig.isLog(22);
			this.jm298 = LogConfig.isLog(23);
			this.jm299 = LogConfig.isLog(13);
			this.jm300 = LogConfig.isLog(12);
			this.jm301 = LogConfig.isLog(21);
			this.jm302 = LogConfig.isLog(61);
			this.jm303 = LogConfig.isLog(31);
			this.jm304 = LogConfig.isLog(51);
			this.jm305 = LogConfig.isLog(41);
			this.jm306 = LogConfig.isLog(71);
			this.jm316 = new XProcessLog();
			this.jm295 = true;
		}
	}

	@Override
	public boolean isDebugEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isErrorEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isFatalEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isInfoEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isTraceEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isWarnEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isMsgEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isActionEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isProcessEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isSQLEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isExportEnabled() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void trace(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void trace(Object paramObject, Throwable paramThrowable) {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug(Object paramObject, Throwable paramThrowable) {
		// TODO Auto-generated method stub

	}

	@Override
	public void info(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void info(Object paramObject, Throwable paramThrowable) {
		// TODO Auto-generated method stub

	}

	@Override
	public void warn(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void warn(Object paramObject, Throwable paramThrowable) {
		// TODO Auto-generated method stub

	}

	@Override
	public void error(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void error(Object paramObject, Throwable paramThrowable) {
		// TODO Auto-generated method stub

	}

	@Override
	public void fatal(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void fatal(Object paramObject, Throwable paramThrowable) {
		// TODO Auto-generated method stub

	}

	@Override
	public void action(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void msg(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void process(Object paramObject) {
		// TODO Auto-generated method stub

	}

	@Override
	public void process(Object paramObject, Throwable paramThrowable) {
		// TODO Auto-generated method stub

	}

	@Override
	public void sql(String paramString1, String paramString2, long paramLong) {
		// TODO Auto-generated method stub

	}

	@Override
	public void export(Object paramObject) {
		// TODO Auto-generated method stub

	}

}
